package org.epidroid.epidroid.androsoul.ui.contactimport;

import android.graphics.Bitmap;

public class ContactImportItem {

	private String _login = null;
	private String _name = null;
	private Bitmap _photo = null;
	private Boolean _selected = true;

	private Long _phoneContactId = null;
	private Long _phonePhotoId = null;

	public ContactImportItem(String login, String name, Bitmap photo) {
		_login = login;
		_name = name;
		_photo = photo;
	}

	public String get_login() {
		return _login;
	}

	public String get_name() {
		return _name;
	}

	public Bitmap get_photo() {
		return _photo;
	}

	@Override
	public boolean equals(Object o) {
		ContactImportItem i = (ContactImportItem) o;
		return _login.equals(i.get_login());
	}

	public Boolean isSelected() {
		return _selected;
	}

	public void setSelected(Boolean v) {
		_selected = v;
	}
	
	public Long getPhoneContactId() {
		return _phoneContactId;
	}

	public Long getPhonePhotoId() {
		return _phonePhotoId;
	}

	public void setPhoneContactId(Long v) {
		_phoneContactId = v;
	}

	public void setPhonePhotoId(Long v) {
		_phonePhotoId = v;
	}

}
